<?php // echo $form->labelEx($model,'nombre');  ?>
<?php
$this->widget('xupload.XUpload', array(
    'url' => Yii::app()->baseUrl . "/index.php/productos/Proveedor/upload?id=" . $id,
    //our XUploadForm
    'model' => $archivo,
    //We set this for the widget to be able to target our own form
    'htmlOptions' => array('id' => 'somemodel-form'),
    'attribute' => 'file',
    'multiple' => true,
        //Note that we are using a custom view for our widget
        //Thats becase the default widget includes the 'form' 
        //which we don't want here
//                'formView' => 'application.views.somemodel._form',
        )
);
?>
